import java.io.File;

import javax.xml.parsers.ParserConfigurationException;

import datamodel.Loader;
import datamodel.SimulationDataStructure;
import error.InvalidXMLException;



public class LoaderTest
{
	
	
	public static void main(String...args) throws InvalidXMLException, ParserConfigurationException
	{
		Loader loader = new Loader();
		File newFile  = new File("src/resources/config.xml");
		
		loader.loadFile(newFile);
		SimulationDataStructure data = loader.createDataStructure();
		System.out.println(data);
	}
	

}
